//
//  AppDelegate.swift
//  SwiftSina
//
//  Created by Jason Ding on 16/1/16.
//  Copyright © 2016年 Jason Ding. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        // Override point for customization after application launch.
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
        UITabBar.appearance().tintColor = UIColor.orangeColor()
        
        // 1,创建window
//        window = UIWindow(frame: UIScreen.mainScreen().bounds)
//        window?.backgroundColor = UIColor.whiteColor();
//
//        // 2,设置根控制器
//        window?.rootViewController = MainViewController()
//        
//        // 3,让window显示
//        window?.makeKeyAndVisible()
        
        
        
        return true
    }

}

